import request from '../utils/request'

// 获取购物车列表
export const getCartListService = (id) => request.get('/shop/purchased/' + id)

//增加上商品到购物车
export const addCartService = (data) => request.post('/shop/add', data)

//删除购物车商品
export const deleteCartService = (id) => request.delete('/shop/delete/' + id)
